/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.meducated.sim.model;

/**
 * A Sensor can sense a property over time with a specified sensing rate in
 * samples per second
 * 
 * @author Carina
 */
public interface Sensor <V> {
    /**
     * The default sensing rate for sensors to reference, in samples per second
     */
    public double DEFAULT_SENSING_RATE = 1;
    
    /**
     * 
     * @param t
     * @param t
     * @param dt
     */
    public void sense(V prop, double t);
    
    /**
     * The rate, in samples per second, which this sensor senses
     * @return 
     */
    public double getSensingRate();
    
    /**
     * 
     * @return 
     */
    public String getId();
}
